NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A QD3D74
No Standard UV Parameters For Mesh


Q: Does QuickDraw 3D provide standard UV parameters for the mesh? I'd like to apply a texture on a mesh in my application.

A: The answer can be found in "3D Graphics Programming With QD3D" pg.4-16: "Some objects have neither a natural surface parameterization nor a standard surface parameterization supplied by QuickDraw 3D. For example, the faces of a mesh have neither type of parameterization. To apply a texture to such an object, you need to define your own custom surface parameterization. You do this by adding attributes of type kQ3AttributeTypeSurfaceUV to the vertices of the object."

In addition, there is an example in develop journal issue 28 which shows how to create a mesh with UV parameters. Look for the article "New QD3D Geometries" (specifically, pg. 50-52) by Philip Schneider. You can find electronic copies of develop journal on the developer CD.

[Jul 11 1997]


Developer Documentation | Technical Notes | Development Kits | Sample Code